package com.diablo.sitemanager.service.impl;

import com.diablo.sitemanager.dao.TagMapper;
import com.diablo.sitemanager.entity.Tag;
import com.diablo.sitemanager.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by diablo13064 on 2018/6/7.
 */
@Service("TagService")
public class TagServiceImpl implements TagService {
    @Autowired
    TagMapper tagMapper;
    @Override
    public List<Tag> findAllTag() {
        return tagMapper.selectAllTag();
    }
}
